package com.songyang.mybatis.reflection.wrapper;

import com.songyang.mybatis.reflection.MetaObject;

/**
 * @ClassName ObjectWrapperFactory
 * @Description 对象包装工厂
 * @date 2023/3/29 16:28
 * @Author yanceysong
 * @Version 1.0
 */
public interface ObjectWrapperFactory {
    /**
     * 判断有没有包装器
     */
    boolean hasWrapperFor(Object object);

    /**
     * 得到包装器
     */
    ObjectWrapper getWrapperFor(MetaObject metaObject, Object object);
}
